<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'borrower-info-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_firstname'); ?>
		<?php echo $form->textField($model,'borrower_firstname',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'borrower_firstname'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_middlename'); ?>
		<?php echo $form->textField($model,'borrower_middlename',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'borrower_middlename'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_lastname'); ?>
		<?php echo $form->textField($model,'borrower_lastname',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'borrower_lastname'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_religion'); ?>
		<?php echo $form->textField($model,'borrower_religion',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'borrower_religion'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_civil_status'); ?>
		<?php echo $form->textField($model,'borrower_civil_status',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'borrower_civil_status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_date_of_birth'); ?>
		<?php echo $form->textField($model,'borrower_date_of_birth'); ?>
		<?php echo $form->error($model,'borrower_date_of_birth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_place_of_birth'); ?>
		<?php echo $form->textField($model,'borrower_place_of_birth',array('size'=>60,'maxlength'=>500)); ?>
		<?php echo $form->error($model,'borrower_place_of_birth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_citizenship'); ?>
		<?php echo $form->textField($model,'borrower_citizenship',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'borrower_citizenship'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_area_id'); ?>
		<?php echo $form->textField($model,'borrower_area_id',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'borrower_area_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'borrower_status'); ?>
		<?php echo $form->textField($model,'borrower_status'); ?>
		<?php echo $form->error($model,'borrower_status'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->